
{% load static %}
<head>

    <title>确认</title>
{#    <link rel="stylesheet" href="{% static 'Form_Style/css/style-nav.css' %}">#}
{#    <link rel="stylesheet" type="text/css" href="{% static 'index/css/edit.css' %}">#}
    <link rel="stylesheet" type="text/css" href="{% static 'bootstrap-3.3.7-dist/css/bootstrap.min.css' %}">
    <style>
    .demo-input{padding-left: 10px; height: 38px; min-width: 262px; line-height: 38px; border: 1px solid #e6e6e6;  background-color: #fff;  border-radius: 2px;}
         body{padding: 20px;}
    </style>
</head>


<body>
    <div class="inner-wrapper">
    <form method="POST" action="{% url 'tool:compile_clock' app_database.pk %}">


        {% csrf_token %}

{#                具体时间#}
{#                <div><label>#}
{#                    <input type="text" name="time_now" class="demo-input" placeholder="选择具体运行时间" id="time_now">#}
{#                </label>#}
{#                </div>#}
        <div class="form-group">
            <label for="exampleInputEmail1">时间范围：</label>
            <input type="text" class="demo-input" placeholder="日期时间范围" id="test10" name="time_set">
        </div>
         <div class="form-group">
            <label for="exampleInputEmail1">时间间隔（周-日-小时）(0-0-0为仅执行一次）：</label>
            <input type="text" class="form-control" id="input_interval" placeholder="示例:0-3-5 (间隔时间3天加五小时)" name="interval_time">
         </div>
        <br>
        <button class="btn" >我确定</button>
        </form>




        <script src="{% static "index/laydate/laydate.js" %}"></script>
        <script>
            lay('#version').html('-v'+ laydate.v);
                laydate.render({
                  elem: '#time_now'
                  ,type: 'datetime'
                });
            laydate.render({
              elem: '#test10'
              ,type: 'datetime'
              ,range: true
            });

        </script>
    	{% if messages %}
    <script>
        {% for msg in messages %}
            alert('{{ msg.message }}');
        {% endfor %}
    </script>
	{% endif %}
</div>
</body>
